<%@page pageEncoding="UTF-8" isELIgnored="false"%>
<%@include file="/common.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta name="robots" content="noarchive"/> 
<title>AKB マニア　ダービー - 編集一覧</title>
</head>
<body>
<form action="${'upload'}" method="post" enctype="multipart/form-data">
名前：<input type="text" ${f:text("myName")}/><br/>
グループ：<input type="text" ${f:text("group")}/><br/>
チーム：<input type="text" ${f:text("team")}/><br/>
<input type="file" name="formFile" /><br />
<input type="submit" value="Upload"/>
</form>
<table>
<c:if test="${fn:length(dataList) > 0}">
<thead>
<tr><th>エントリーリスト</th></tr>
</thead>
</c:if>
<tbody>
<c:forEach var="e" items="${dataList}">
<c:set var="showUrl" value="/info/show/${f:h(e.key)}"/>
<c:set var="editUrl" value="edit/${f:h(e.key)}"/>
<c:set var="deleteUrl" value="delete/${f:h(e.key)}"/>
<tr>
<td>${f:h(e.myName)}</td>
</tr>
<c:if test="${e.group == 'SKE48' }">
<tr>
<td><img src="${f:url(showUrl)}" width="140" height="170" /></td>
</tr>
</c:if>
<tr>
<td>
<a href="${f:url(editUrl)}" target="_blank">Edit</a>&nbsp;
<%-- <a href="${f:url(deleteUrl)}" onclick="return confirm('delete OK?')">Delete</a>
 --%></td>
</tr>
<%-- 
<tr>
<td>
<c:if test="${!empty e.wikiUrl}">
<a href="${e.wikiUrl}" target="_blank">[Wikiを確認]</a>
</c:if>
<c:if test="${!empty e.ekeUrl}">
<a href="${e.ekeUrl}" target="_blank">[エケを確認]</a>
</c:if>
<c:if test="${!empty e.myName}">
<a href="${f:url(profileUrl)}" target="_blank">[プロフィール]</a>
</c:if>
</td>
</tr>
--%>
</c:forEach>
</tbody>
</table>
<%@include file="/common_footer.jsp" %>
</body>
</html>
